package cn.wolfcode.mapper;


import cn.wolfcode.domain.Emp;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

public interface EmpMapper {
//    List<Emp> query(int start, int pageSize);
//    @Select("select count(*) from emp ")
//    long selForCount();

    List<Emp> list(String name, Integer gender, Date begin, Date end);

    void delete(@Param("ids") List<Integer> ids);
}
